package com.hq.zb.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 客户商标
 * </p>
 *
 * @author huanghanrui
 * @since 2022-03-24
 */
@Data
@TableName("cus_trademark_info")
public class TrademarkInfo extends BaseModel<TrademarkInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户ID
     */
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 商标名称
     */
    @TableField("trademark_name")
    private String trademarkName;
    /**
     * 命名依据
     */
    @TableField("naming_basis")
    private String namingBasis;
    /**
     * 商标状态
     */
    @TableField("trademark_status")
    private String trademarkStatus;
    /**
     * 商标分类
     */
    @TableField("trademark_class")
    private String trademarkClass;
    /**
     * 注册日期
     */
    private Date regdate;
    /**
     * 有效期
     */
    @TableField("term_of_validity")
    private String termOfValidity;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
